-- GENERATED SPELL FOR [Fel Imp] --


function spell0_21135(pUnit, Event) --@Firebolt,n/a--
pUnit:FullCastSpellOnTarget(36227,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21135', 2000, 1)
end

function Sorts_21135(pUnit, Event)
local choix_sorts_21135 = math.random(0, 0)
if choix_sorts_21135 == 0 then
pUnit:RegisterEvent('spell0_21135', 1, 1)
end
end

function mob21135_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21135', math.random(1500, 3000), 1)
end

function mob21135_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21135_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21135_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21135, 1, 'mob21135_Action')
RegisterUnitEvent(21135, 2, 'mob21135_Leave')
RegisterUnitEvent(21135, 3, 'mob21135_Kill')
RegisterUnitEvent(21135, 4, 'mob21135_Die')
